<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>bigautocomplete-jquery plugin</title>
	<link rel="stylesheet" href="css/jquery.bigautocomplete.css" type="text/css" />
	<script type="text/javascript" src="js/jquery-1.6.1.js"></script>
	<script type="text/javascript" src="js/jquery.bigautocomplete.js"></script>
	<script type="text/javascript">
		$(function(){
			
			$("#tt").bigAutocomplete({url:"data.action"});
			
		});
	</script>
  </head>
  <body>
	<br/>
	<br/>	
	<br/>
	<br/>
	<br/>  
	返回的数据格式：{"data":[{"result":null,"title":"中国"},{"result":null,"title":"美国"},{"result":null,"title":"英国"},{"result":null,"title":"法国"}]}
	<br/>	
	<br/>
	自动补全文本框：
	<input type="text" id="tt" style="width:300px;height:20px;font-size:15px;" />
		
	<br/>
	<br/>	
	<br/>
	<br/>	
	<br/>
	<br/>
	<br/>
  </body>
</html>
